﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ObTookit.Auto
{
    public class PermitCoder:BaseCoder
    {
        public string CreateCode()
        {
            string text = ReadTemplate(Template);
            text = text.Replace("[#AUTHOR#]", Author);
            text = text.Replace("[#CREATED#]", CreateDate);
            text = text.Replace("[#PermitNS#]", AutoObj.PermitNS);
            text = text.Replace("[#ClsName#]", AutoObj.ClsName);
            text = text.Replace("[#TbDescir#]", AutoObj.TbDescri);


            return text;
        }

    }
}
